import request from '../utils/request'

// 列表接口
export const _getHomeList=(type)=>{
  return request("/banner/list","get",{
    type:type
  })
}
export const getDetail=(goodsId)=>{
  return request("/shop/goods/detail","get",{
    id:goodsId
  })
}
// page：1 页码
// pageSize:6 每页数据的条数
export const getGoods=(data)=>{
  return request("/shop/goods/list/v2","post",data,"json")
}